package com.feidee.data.report.dao.impl;

import com.feidee.data.report.constant.Constant;
import com.feidee.data.report.dao.ISnappyDataDao;
import com.feidee.fdcommon.configuration.CustomConfiguration;

public class SnappyDataDaoImpl extends BaseReportQueryDao implements ISnappyDataDao {

	@Override
	public void setup() {
		super.setup();
	}

	@Override
	public void cleanup() {
		super.cleanup();
	}

	private void setConfiguration() {
		engineFlag = Constant.SNAPPYDATA_ENG;
		driverStr = CustomConfiguration.getString("SNAPPY_DRIVER", "io.snappydata.jdbc.ClientDriver");
		urlStr = CustomConfiguration.getString("SNAPPY_JDBC_URL_DEFAULT","jdbc:snappydata://10.200.8.18:1527/");
	}
}
